object Form5: TForm5
  Left = 0
  Top = 0
  BorderStyle = bsSingle
  Caption = #1042#1099#1073#1077#1088#1080#1090#1077' '#1076#1086#1075#1086#1074#1086#1088' '#1080#1079' '#1089#1087#1080#1089#1082#1072
  ClientHeight = 280
  ClientWidth = 710
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  FormStyle = fsStayOnTop
  Icon.Data = {
    0000010001001818000001002000880900001600000028000000180000003000
    0000010020000000000000120000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000113F04A12354
    25E104530BDD23712AE6114E06A2000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000063101A928A1
    2CFF14BD24FF41D150FF044702AB000000000000000000000000000000009183
    717E827364BB807061B880705FB87F6E5FB87F6E5FB87F6D5EB87F6D5EB87F6D
    5CB87E6C5BB87E6A5BB87C6A5BB87C6A5BB87E6C5BB8816F5EB52C4F22D41E9E
    23FF1ABF2AFF3CD34CFF265B1AE1836E61B4807061B8837364BC938476799183
    77DBE2E1E0FFE2DFDEFFE0DDDBFFDEDBD9FFDDD9D6FFDBD7D4FFDAD5D2FFD9D3
    D0FFD7D2CEFFD6D0CCFFDDD4D2FFE3D8D8FFE4D9D9FFF0E0E6FF3D6236FF1C9D
    20FF13B723FF33CD43FF42703AFFF6E4EFFFECE3E8FFE9E2E7FF94887DD58D80
    74DAF8F8F9FFFDFDFDFFFCFCFCFFFCFDFDFFFDFDFDFFFDFDFDFFFDFEFEFFFDFE
    FEFFFDFEFEFFFFFFFFFF4A6C47FF386436FF386636FF3A6739FF30632EFF279C
    29FF009E0FFF2FC43EFF326F26FF386A2FFF36682EFF3C6839FF527946D48E80
    74DAF7F7F8FFFBFBFBFFFAFAFAFFFAFAFAFFFAFAFAFFFAFAFAFFFAFAFAFFFAFA
    FAFFFAFAFAFFFFFFFFFF2F5A2DFF53BC5FFF008E05FF009F09FF07AB15FF139A
    1EFF148A20FF40BB4BFF54C95DFF55CA5EFF59C862FF6BCF77FF205A1EC98E80
    74DAF7F8F9FFFCFCFCFFFBFBFBFFFBFBFBFFFBFBFBFFFBFBFBFFFBFBFBFFFBFB
    FBFFFBFBFBFFFFFFFFFF2C5729FF63D075FF19BD29FF3BD549FF48D755FF40C5
    4EFF3DA647FF3E9847FF49AE53FF56BB60FF5DBD67FF7FD48EFF1E4A1AC98E80
    74DAF8F9F9FFFDFDFCFFFCFCFBFFFCFCFBFFFCFCFBFFFCFCFBFFFCFCFBFFFCFC
    FBFFFCFCFBFFFFFFFFFF356434FF67D876FF6FE07DFF70E37BFF77E782FF77E7
    81FF50C55BFF61AF67FF74C680FF73CD80FF76CC83FF83D894FF2E4E2CC98E81
    74DAF9FAFBFFFEFEFEFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFD
    FDFFFDFDFDFFFFFEFFFF708E6EFF476C43FF476E43FF4C7C3FFF366A34FF75E2
    7FFF68D573FF62B467FF386235FF355C30FF33592FFF33572EFF5C6B4ADD8E81
    74DAFAFBFBFFFFFFFEFFFEFEFDFFFEFEFDFFFEFEFDFFFEFEFDFFFEFEFDFFFEFE
    FDFFFEFEFDFFFEFEFDFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFF416E3DFF6ED7
    76FF72D57BFF77C785FF40653CFFFFFFFFFFFFFFFFFFF9FAFAFF95867BD48E81
    74DAFBFBFCFFFFFFFFFFFFFEFEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFE
    FEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFEFEFFFFFFFFFF416B3DFF66C6
    6DFF76C87EFF7EC58BFF40653BFFFFFFFFFFFFFFFFFFF9F9F9FF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF41693DFF8BDC
    9DFF95DFA7FF92DDA5FF41643DFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF70896BFF597C
    59FF527552FF617C5FFF72896EFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAFBFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9FAFAFF92867BD48E81
    74DAF8F8F9FFFCFCFCFFFBFBFBFFFCFBFBFFFCFCFBFFFCFCFCFFFCFCFCFFFCFC
    FCFFFCFCFCFFFCFCFCFFFCFCFCFFFCFCFCFFFDFCFCFFFDFCFCFFFDFDFCFFFDFD
    FDFFFDFDFDFFFDFDFDFFFDFDFDFFFDFDFDFFFEFEFEFFF8F8F9FF92867BD48D7F
    73DADDD5D0FFD8CEC8FFD5CBC4FFD2C7BFFFCFC3BBFFCDC0B7FFCABCB3FFC8B9
    B0FFC6B6ACFFC3B3A9FFC1B0A6FFC1B1A6FFC3B3A9FFC5B6ACFFC7B8AFFFCABC
    B3FFCCBFB6FFD1C5BDFFDAD1CBFFD9D0CAFFDAD2CCFFDDD6D1FF91857AD49383
    77DBDDD5D0FFD8CEC8FFD5CBC4FFD2C7BFFFCFC3BBFFCDC0B7FFCABCB3FFC8B9
    B0FFC6B6ACFFC3B3A9FFC1B0A6FFC1B1A6FFC3B3A9FFC5B6ACFFC7B8AFFFCABC
    B3FFECE8E5FFD1C5BDFFF2EEECFFD9D0CAFFF2EFECFFDDD6D1FF95867AD4AA9D
    8DA0928072E68E7B6CE18C7B6AE18B7969E1897665E1897464E1867262E18571
    60E1857160E1836F5CE1826D5BE1826D5BE1836F5CE183705FE1857160E18572
    61E1867362E1897665E18E7C6DE18D7B6CE18D7C6CE1928072E6AE9F91980000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000FFFE
    0F00FFFE0F008000010000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000FFFFFF00FFFFFF00}
  OldCreateOrder = False
  OnClose = FormClose
  OnShow = FormShow
  DesignSize = (
    710
    280)
  PixelsPerInch = 96
  TextHeight = 13
  object RzLabel4: TRzLabel
    Left = 18
    Top = 236
    Width = 89
    Height = 13
    Anchors = [akTop, akRight]
    Caption = #1055#1086#1080#1089#1082' '#1087#1086' '#1082#1083#1080#1077#1085#1090#1091
    ExplicitLeft = 8
  end
  object Label1: TLabel
    Left = 18
    Top = 260
    Width = 296
    Height = 13
    Caption = #1045#1089#1083#1080' '#1089#1087#1080#1089#1086#1082' '#1087#1091#1089#1090' '#1087#1086#1087#1088#1086#1073#1091#1081#1090#1077' '#1091#1076#1072#1083#1080#1090#1100' '#1095#1072#1089#1090#1100' '#1080#1084#1077#1085#1080
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object RzDBGrid1: TRzDBGrid
    Left = 1
    Top = 0
    Width = 707
    Height = 230
    Anchors = [akLeft, akTop, akRight]
    DataSource = DataSource1
    DefaultDrawing = True
    ReadOnly = True
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    OnDblClick = RzDBGrid1DblClick
    Columns = <
      item
        Expanded = False
        FieldName = 'CT_ID'
        Visible = False
      end
      item
        Expanded = False
        FieldName = 'CT_NOMER'
        Title.Caption = #1053#1086#1084#1077#1088' '#1076#1086#1075#1086#1074#1086#1088#1072
        Width = 230
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CL_NAME'
        Title.Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077' '#1082#1083#1080#1077#1085#1090#1072
        Width = 350
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CT_DATEOUT'
        Title.Caption = #1057#1088#1086#1082' '#1076#1077#1081#1089#1090#1074'.'
        Width = 75
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CL_ID'
        Visible = False
      end>
  end
  object E_client: TRzEdit
    Left = 104
    Top = 233
    Width = 588
    Height = 21
    TabOrder = 1
    OnChange = E_clientChange
  end
  object DataSource1: TDataSource
    DataSet = DSet
    Left = 544
    Top = 72
  end
  object FireDB: TIBDatabase
    Params.Strings = (
      'user_name=SYSDBA'
      'password=masterkey'
      'lc_ctype=WIN1251')
    LoginPrompt = False
    DefaultTransaction = IBTransaction1
    Left = 472
    Top = 72
  end
  object IBTransaction1: TIBTransaction
    DefaultDatabase = FireDB
    Left = 408
    Top = 72
  end
  object DSet: TIBDataSet
    Database = FireDB
    Transaction = IBTransaction1
    SelectSQL.Strings = (
      
        'select ct_id,cl_id,ct_nomer,cl_name,ct_dateout from t_contracts,' +
        't_clients'
      'where (ct_clientid=cl_id)'
      'and (cl_name<>'#39#39')'
      'and (ct_inactiveid is null)'
      'and ( upper(cl_name) containing upper(:SRCH))'
      'and ((ct_type=5) or (ct_type=6))'
      'and ((ct_once is null) or (ct_once=0))'
      'order by cl_name')
    Left = 608
    Top = 72
  end
  object FireQuery: TIBSQL
    Database = FireDB
    Transaction = IBTransaction1
    Left = 472
    Top = 128
  end
end
